<?php

namespace app\service;


use app\model\GameConfig;
//游戏配置服务
class GameConfigService
{

   //通过KEY获取VALUE
   public function get_game_config($key)
   {
       return (new GameConfig())->where('key',$key)->value('value');
   }


}